package com.mrjy.schooldiy.dao;

import java.util.List;

import com.mrjy.common.entity.DiyVideoInfo;
import com.mrjy.schooldiy.dto.DiyVideoInfoDTO;

public interface IDiyVideoDao {

	int insertSourse(DiyVideoInfo dInfo);

	int editeSource(DiyVideoInfo dInfo);

	int updateDisableFlag(DiyVideoInfo dInfo);

	List<DiyVideoInfoDTO> querySourceByid(DiyVideoInfo dInfo);

	int deleteAVSource(Integer id);

	List<DiyVideoInfoDTO> queryPageForPcSource(DiyVideoInfo dInfo);

	int countAllSource(DiyVideoInfo dInfo);

	List<DiyVideoInfoDTO> queryPageList(DiyVideoInfo dInfo);

	DiyVideoInfoDTO queryAuViSourceById(DiyVideoInfo dInfo);

	int addAuViViewNum(Integer id);

}
